import { defineStore } from 'pinia';

export const useMulitpleSelectStore = defineStore('mulitpleSelect', {
    state: () => ({
        isOpen: false,
        type: 1, //1: im自带，2：自定义
        selectList: []
    }),
    actions: {
        setMulitpleSelect(info: any) {
            this.isOpen = info.isOpen;
            this.selectList = info.selectList;
            this.type = info.type;
        }
    }
});